package com.ruoyi.tjbb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 超速报警车辆明细对象 sys_tjbb_csbjclmx
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class SysTjbbCsbjclmx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carId;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String carColor;

    /** 归属机构 */
    @Excel(name = "归属机构")
    private String ownershipOrganization;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 违规时长 */
    @Excel(name = "违规时长")
    private String duration;

    /** 最小速度 */
    @Excel(name = "最小速度")
    private String minSpeed;

    /** 最高速度 */
    @Excel(name = "最高速度")
    private String maxSpeed;

    /** 平均速度 */
    @Excel(name = "平均速度")
    private String averageSpeed;

    /** 里程 */
    @Excel(name = "里程")
    private String mileage;

    /** 违规开始地点 */
    @Excel(name = "违规开始地点")
    private String startSite;

    /** 违规结束地点 */
    @Excel(name = "违规结束地点")
    private String endSite;

    /** ID */
    private Long id;

    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }
    public void setOwnershipOrganization(String ownershipOrganization) 
    {
        this.ownershipOrganization = ownershipOrganization;
    }

    public String getOwnershipOrganization() 
    {
        return ownershipOrganization;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }
    public void setMinSpeed(String minSpeed) 
    {
        this.minSpeed = minSpeed;
    }

    public String getMinSpeed() 
    {
        return minSpeed;
    }
    public void setMaxSpeed(String maxSpeed) 
    {
        this.maxSpeed = maxSpeed;
    }

    public String getMaxSpeed() 
    {
        return maxSpeed;
    }
    public void setAverageSpeed(String averageSpeed) 
    {
        this.averageSpeed = averageSpeed;
    }

    public String getAverageSpeed() 
    {
        return averageSpeed;
    }
    public void setMileage(String mileage) 
    {
        this.mileage = mileage;
    }

    public String getMileage() 
    {
        return mileage;
    }
    public void setStartSite(String startSite) 
    {
        this.startSite = startSite;
    }

    public String getStartSite() 
    {
        return startSite;
    }
    public void setEndSite(String endSite) 
    {
        this.endSite = endSite;
    }

    public String getEndSite() 
    {
        return endSite;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carColor", getCarColor())
            .append("ownershipOrganization", getOwnershipOrganization())
            .append("alarmType", getAlarmType())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("duration", getDuration())
            .append("minSpeed", getMinSpeed())
            .append("maxSpeed", getMaxSpeed())
            .append("averageSpeed", getAverageSpeed())
            .append("mileage", getMileage())
            .append("startSite", getStartSite())
            .append("endSite", getEndSite())
            .append("id", getId())
            .toString();
    }
}
